<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Shop extends Model
{
    protected $table='b_shop';
    protected $primaryKey="id";
    public $timestamps=false;
    protected $fillable=[
      'status','classify','district'
    ];

    public function my_chest()
    {
        return $this->hasMany(Chest::class,'shopid','id');
    }
}
